package gwt.client.rpc;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import javax.servlet.ServletException;
import java.io.IOException;

/**
 * Created by swootton on 02/04/14.
 *
 * TODO might want to change name, currently same as Tomcat web.xml mapping
 *
 * interface specifies operations the server should provide.
 *
 * The annotation, @RemoteServiceRelativePath("mf_service"),
 * defines that this service may be referenced from a Web browser
 * using "/mf_service".
 *
 * This is SHARED code (instantiated in gwt/client, and implemented in gwt/server.
 * See pg 201
 */

@RemoteServiceRelativePath("mf_service")
public interface MFService extends RemoteService {
    String getRepositories(String id) /*throws ServletException, IOException*/;
}





